From 25849358366d853a7fc0b44d9d8aa84f195bba4d Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Tue, 24 May 2005 14:20:04 +0000 Subject: [PATCH] bitkeeper revision 1.1527.1.1 (42933814hYUdPBrhJ2nEsS5J3nRP8Q) Another xcutil Makefile 'fix'. Signed-off-by: Keir Fraser --- tools/xcutils/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/xcutils/Makefile b/tools/xcutils/Makefile index 71c3c6a404..8c350ce7c4 100644 --- a/tools/xcutils/Makefile +++ b/tools/xcutils/Makefile @@ -39,15 +39,13 @@ all: build build: $(PROGRAMS) define PROGRAM_template - $(1): $$($(1)_OBJS) - ALL_OBJS += $$($(1)_OBJS) +$(1): $$($(1)_OBJS) + $$(LINK.o) $$^ $$(LDLIBS) -o $$@ +ALL_OBJS += $$($(1)_OBJS) endef $(foreach prog,$(PROGRAMS),$(eval $(call PROGRAM_template,$(prog)))) -$(PROGRAMS): - $(LINK.o) $^ $(LDLIBS) -o $@ - .PHONY: install install: build [ -d $(DESTDIR)$(PROGRAMS_INSTALL_DIR) ] || \ -- 2.30.2